aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/groups/[groupId]/layout.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/groups/[groupId]/layout.tsx')
-rw-r--r--src/app/groups/[groupId]/layout.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app/groups/[groupId]/layout.tsx b/src/app/groups/[groupId]/layout.tsx
index 3e649e7..fc76b61 100644
--- a/src/app/groups/[groupId]/layout.tsx
+++ b/src/app/groups/[groupId]/layout.tsx
@@ -5,7 +5,7 @@ import { getGroup } from '@/lib/api'
import { Metadata } from 'next'
import Link from 'next/link'
import { notFound } from 'next/navigation'
-import { PropsWithChildren } from 'react'
+import { PropsWithChildren, Suspense } from 'react'
type Props = {
params: {
@@ -41,7 +41,9 @@ export default async function GroupLayout({
</h1>
<div className="flex gap-2 justify-between">
- <GroupTabs groupId={groupId} />
+ <Suspense>
+ <GroupTabs groupId={groupId} />
+ </Suspense>
<ShareButton group={group} />
</div>
</div>